home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 January: Mac OS SDK / Dev.CD Jan 99 SDK1.toast / Development Kits / Installer SDK 1.2 / Upgrader 1.2.1 & Engines / Installer Engine 4.5.1 / Interfaces / CIncludes / ActionHandlerHeader.h next >
Encoding:
C/C++ Source or Header  |  1998-08-25  |  32.0 KB  |  707 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ActionHandlerHeader.h
  3.  
  4.     Copyright:    © 1993-98 by Apple Computer, Inc., all rights reserved.
  5. */
  6.  
  7.  
  8. #ifndef __ActionHandlerHeader__
  9. #define __ActionHandlerHeader__
  10.  
  11. // —— Action Classes & Identifiers
  12.  
  13. /*==================================================================================================*/
  14. /*=================================== Script Action Class ==========================================*/
  15. /*==================================================================================================*/
  16. #define    kScriptAction                    5000    
  17. #define kPackageNotFoundActStr            "Script Error:  The package with ID=^0 could not be found."
  18. #define    kPackageNotFoundActID            5001    /*    p0 = Package ID
  19.                                                     p1 =
  20.                                                     p2 =
  21.                                                     p3 =
  22.                                                     r  = */
  23. #define kAtomNotFoundInPackageActStr    "Script Error:  The atom of type '^1' with ID=^0 could not be found in the script."
  24. #define    kAtomNotFoundInPackageActID        5002    /*    p0 = Atom ID
  25.                                                     p1 = Atom Type (RsrcType)
  26.                                                     p2 =
  27.                                                     p3 =
  28.                                                     r  = */
  29. #define kFrameworkNotFoundActStr        "Script Error:  The framework ID=^0 could not be found in the script."
  30. #define    kFrameworkNotFoundActID            5003    /*    p0 = Framework ID
  31.                                                     p1 =
  32.                                                     p2 =
  33.                                                     p3 =
  34.                                                     r  = */
  35. #define kRuleNotFoundActStr                "Script Error:  The rule ID=^0 could not be found."
  36. #define    kRuleNotFoundActID                5004    /*    p0 = Rule ID
  37.                                                     p1 =
  38.                                                     p2 =
  39.                                                     p3 =
  40.                                                     r  = */
  41. #define kFileSpecNotFoundActStr            "Script Error:  File Spec ID=^0 could not be found."
  42. #define    kFileSpecNotFoundActID            5005    /*    p0 = File Spec ID
  43.                                                     p1 =
  44.                                                     p2 =
  45.                                                     p3 =
  46.                                                     r  = */
  47. #define kFileSpecIsBadActStr            "Script Error:  File spec ID=^0 is corrupted, most likely the path name."
  48. #define    kFileSpecIsBadActID                5006    /*    p0 = 
  49.                                                     p1 = 
  50.                                                     p2 = 
  51.                                                     p3 =
  52.                                                     r  = */
  53. #define kCouldNotOpenScriptActStr        "Script Error:  The script '^0' could not be opened.  Error ^1."
  54. #define    kCouldNotOpenScriptActID        5007    /*    p0 = ScriptName (Str255*)
  55.                                                     p1 = OSErr
  56.                                                     p2 =
  57.                                                     p3 =
  58.                                                     r  = */
  59. #define kFileSpecIDIsBadActStr            "Script Error:  File spec ID=^0 cannot have this ID number (ID=-32767 is reserved, and ID=0 can only be used for source file specs of atoms that are not copying)."
  60. #define    kFileSpecIDIsBadActID            5008    /*    p0 = File Spec ID
  61.                                                     p1 = 
  62.                                                     p2 = 
  63.                                                     p3 =
  64.                                                     r  = */
  65. #define kAtomIsBadActStr                "Script Error:  Atom of type '^1' and ID=^0 is bad."
  66. #define    kAtomIDIsBadActID                5009    /*    p0 = Atom ID
  67.                                                     p1 = Atom Type (OSType)
  68.                                                     p2 = 
  69.                                                     p3 =
  70.                                                     r  = */
  71. #define kNotEnoughMemoryToReadActStr    "Memory Error:  Ran out of Installer memory while loading script.  Please set the Installer's partition larger."
  72. #define    kNotEnoughMemoryToReadActID        5010    /*    p0 = 
  73.                                                     p1 = 
  74.                                                     p2 = 
  75.                                                     p3 =
  76.                                                     r  = */
  77. #define kSubHeapToSmallActStr             "Script Error:  The script's sub-heap is too small.  Please set the value in the 'insz' resource higher."
  78. #define    kSubHeapToSmallActID            5011    /*    p0 = 
  79.                                                     p1 = 
  80.                                                     p2 = 
  81.                                                     p3 =
  82.                                                     r  = */
  83. #define kFileSpecNotFndWithRefActStr    "Script Error:  File Spec ID=^0 could not be found.  Referenced from '^1' ID=^2."
  84. #define    kFileSpecNotFndWithRefActID        5012    /*    p0 = File Spec ID
  85.                                                     p1 = Reference Type (RsrcType)
  86.                                                     p2 = Reference ID
  87.                                                     p3 =
  88.                                                     r  = */
  89. #define kVersCompareNotFoundActStr        "Script Error:  The Version Compare resource ('invc') ID=^0 could not be found in the script."
  90. #define    kVersCompareNotFoundActID        5013    /*    p0 = 'invc' resource ID
  91.                                                     p1 =
  92.                                                     p2 =
  93.                                                     p3 =
  94.                                                     r  = */
  95. #define kSearchProcNotFoundActStr        "Script Error:  The Search Procedure resource ('insp') ID=^0 could not be found in the script."
  96. #define    kSearchProcNotFoundActID        5014    /*    p0 = 'insp' resource ID
  97.                                                     p1 =
  98.                                                     p2 =
  99.                                                     p3 =
  100.                                                     r  = */
  101. #define kRuleFunctionNotFoundActStr        "Script Error:  The Rule Function resource ('inrf') ID=^0 could not be found in the script."
  102. #define    kRuleFunctionNotFoundActID        5015    /*    p0 = 'inrf' resource ID
  103.                                                     p1 =
  104.                                                     p2 =
  105.                                                     p3 =
  106.                                                     r  = */
  107. #define kDeleteOverrideActStr            "Script Override:  Resource ('^0') ID=^1 will be ignored."
  108. #define    kDeleteOverrideActID            5016    /*    p0 = resource type
  109.                                                     p1 = resource ID
  110.                                                     p2 =
  111.                                                     p3 =
  112.                                                     r  = */
  113.  
  114. /*==================================================================================================*/
  115. /*====================================== Rule Action Class =========================================*/
  116. /*==================================================================================================*/
  117. #define    kRemapActionResultToTRUE        1
  118. #define    kRemapActionResultToFALSE        -1
  119. #define    kDontRemapActionResult            0
  120.  
  121.  
  122. #define    kFireRulesAction                5100
  123. #define kFrameworkActStr                "Rule Action:  Framework ID=^0, index ^1 is about to be fired."
  124. #define    kFrameworkActID                    5101    /*    p0 = Framework ID
  125.                                                     p1 = Framework Index
  126.                                                     p2 = 
  127.                                                     p3 = FSSpec* to script document
  128.                                                     r  = */
  129.                                                 
  130. #define kRuleResultActStr                "Rule Action:  Rule ID=^0 returned ^1."
  131. #define    kRuleResultActID                5102    /*    p0 = Rule ID
  132.                                                     p1 = Result (TRUE or FALSE)
  133.                                                     p2 = 
  134.                                                     p3 =
  135.                                                     r  = New Result (kRemapActionResultToTRUE, kRemapActionResultToFALSE, or kDontRemapActionResult) */
  136.                                                 
  137. #define kRuleClauseResultActStr            "Rule Action:  Rule Clause index ^1 of rule ID=^0 returned ^2."
  138. #define    kRuleClauseResultActID            5103    /*    p0 = Rule ID
  139.                                                     p1 = Rule Clause Index
  140.                                                     p2 = Result (TRUE or FALSE)
  141.                                                     p3 =
  142.                                                     r  = New Result (kRemapActionResultToTRUE, kRemapActionResultToFALSE, or kDontRemapActionResult)*/
  143.  
  144.  
  145. /*==================================================================================================*/
  146. /*===================================== Target Action Class ========================================*/
  147. /*==================================================================================================*/
  148. #define    kTargetAction                    5200
  149. #define kTgtFileNotFoundActStr            "Runtime Error:  Target file '^1' was not found (Target File Spec. ID=^0)."        // NOT USED
  150. #define    kTgtFileNotFoundActID            5201    /*    p0 = Target File Spec ID
  151.                                                     p1 = File Name (Str255*)
  152.                                                     p2 = Volume Name (Str255*)
  153.                                                     p3 =
  154.                                                     r  = */
  155. #define kTgtFileLockedActStr            "Runtime Error:  File '^1' is locked (Target File Spec. ID=^0)."                // NOT USED
  156. #define    kTgtFileLockedActID                5202    /*    p0 = Target File Spec ID
  157.                                                     p1 = File Name (Str255*)
  158.                                                     p2 = 
  159.                                                     p3 =
  160.                                                     r  = */
  161. #define kTgtErrForFileAtomActStr         "Runtime Error:  Problems accessing/writing target file '^1'. Error# ^2. (Target File Spec. ID=^0)."
  162. #define    kTgtErrForFileAtomActID            5203    /*    p0 = Target File Spec ID
  163.                                                     p1 = File Name (Str255*)
  164.                                                     p2 = OSErr
  165.                                                     p3 = Atom ID
  166.                                                     r  = */
  167. #define kTgtErrForRsrcAtomActStr        "Runtime Error:  Problems accessing/writing target resource, type '^1' ID=^2. Error# ^3. (Target File Spec. ID=^0)."
  168. #define    kTgtErrForRsrcAtomActID            5204    /*    p0 = Target File Spec ID
  169.                                                     p1 = Rsrc Type
  170.                                                     p2 = Rsrc ID
  171.                                                     p3 = OSErr
  172.                                                     r  = */
  173. #define kTgtErrForFontAtomActStr        "Runtime Error:  Problems accessing/writing target font ^1. Error# ^2. (Target File Spec. ID=^0)."
  174. #define    kTgtErrForFontAtomActID            5205    /*    p0 = Target File Spec ID
  175.                                                     p1 = Font Name (Str255*)
  176.                                                     p2 = OSErr
  177.                                                     p3 = Atom ID
  178.                                                     r  = */
  179. #define kTgtMatchesSrcErrActStr            "Runtime Error:  The target file “^1” on the volume “^2” matches a source file. (Target File Spec. ID=^0)."
  180. #define    kTgtMatchesSrcErrActID            5206    /*    p0 = Target File Spec ID
  181.                                                     p1 = File Name (Str255*)
  182.                                                     p2 = Source Volume Name (Str255*)
  183.                                                     p3 = 
  184.                                                     r  = */
  185. #define kTgtErrForFolderAtomActStr        "Runtime Error:  Problems accessing/writing target folder “^1”. Error# ^2. (Folder Atom ID=^0)."
  186. #define    kTgtErrForFolderAtomActID        5207    /*    p0 = Folder Atom ID
  187.                                                     p1 = File Name
  188.                                                     p2 = OSErr
  189.                                                     p3 = 
  190.                                                     r  = */
  191. #define kTgtErrForResMergeAtomActStr    "Runtime Error:  Problems accessing/writing target file “^1”. Error# ^2. (ResMerge Atom ID=^0)."
  192. #define    kTgtErrForResMergeAtomActID    5208    /*    p0 = ResMerge Atom ID
  193.                                                     p1 = File Name
  194.                                                     p2 = OSErr
  195.                                                     p3 = 
  196.                                                     r  = */
  197.  
  198.  
  199. /*==================================================================================================*/
  200. /*===================================== Source Action Class ========================================*/
  201. /*==================================================================================================*/
  202. #define    kSourceAction                    5300
  203. #define kSrcFileNotFoundActStr            "Runtime Error:  Source File '^1' was not found on the volume '^2'. (Source File Spec. ID=^0)."
  204. #define    kSrcFileNotFoundActID            5301    /*    p0 = Source File Spec ID
  205.                                                     p1 = File Name (Str255*)
  206.                                                     p2 = Volume Name (Str255*)
  207.                                                     p3 =
  208.                                                     r  = */
  209. #define kSrcErrForFileAtomActStr         "Runtime Error:  Problems reading source file '^1'. Error# ^2. (Source File Spec. ID=^0)."
  210. #define    kSrcErrForFileAtomActID            5302    /*    p0 = Source File Spec ID
  211.                                                     p1 = File Name (Str255*)
  212.                                                     p2 = OSErr
  213.                                                     p3 =
  214.                                                     r  = */
  215. #define kSrcErrForRsrcAtomActStr        "Runtime Error:  Problems reading source resource, type '^1' ID=^2. Error# ^3. (Source File Spec. ID=^0)."
  216. #define    kSrcErrForRsrcAtomActID            5303    /*    p0 = Source File Spec ID
  217.                                                     p1 = Rsrc Type
  218.                                                     p2 = 
  219.                                                     p3 = OSErr
  220.                                                     r  = */
  221. #define kSrcErrForFontAtomActStr        "Runtime Error:  Problems reading source font “^1”. Error# ^2. (Source File Spec. ID=^0)."
  222. #define    kSrcErrForFontAtomActID            5304    /*    p0 = Source File Spec ID
  223.                                                     p1 = Font Name
  224.                                                     p2 = OSErr
  225.                                                     p3 = 
  226.                                                     r  = */
  227. #define kSrcErrForResMergeAtomActStr    "Runtime Error:  Problems reading source file “^1”. Error# ^2. (ResMerge Atom ID=^0)."
  228. #define    kSrcErrForResMergeAtomActID    5306        /*    p0 = ResMerge Atom ID
  229.                                                     p1 = File Name
  230.                                                     p2 = OSErr
  231.                                                     p3 = 
  232.                                                     r  = */
  233.  
  234.  
  235. /*==================================================================================================*/
  236. /*===================================== Extender Action Class ======================================*/
  237. /*==================================================================================================*/
  238. #define    kExtenderAction                    5400
  239. #define kExtCodeRsrcNotFoundActStr        "Script Error:  Code resource type '^1' ID=^2 was not found for the Atom Extender ID=^0."
  240. #define    kExtCodeRsrcNotFoundActID        5401    /*    p0 = Atom Extender ID
  241.                                                     p1 = Code Rsrc Type
  242.                                                     p2 = Code Rsrc ID
  243.                                                     p3 = 
  244.                                                     r  = */
  245. #define kExtenderRsrcNotFoundActStr        "Script Error:  Atom Extender ID=^0 was not found."
  246. #define    kExtenderRsrcNotFoundActID        5402    /*    p0 = Atom Extender ID
  247.                                                     p1 =
  248.                                                     p2 = 
  249.                                                     p3 =
  250.                                                     r  = */
  251. #define kCallBackNotAvailableActStr        "Runtime Error:  Call back routine, dispatcher number ^0, can not be called now from extender ID=^1."
  252. #define    kCallBackNotAvailableActID        5403    /*    p0 = Atom Extender ID
  253.                                                     p1 = Routine Dispatch Number
  254.                                                     p2 = 
  255.                                                     p3 =
  256.                                                     r  = */
  257. #define kExtenderResultActStr            "Runtime Error:  Atom Extender ID=^0 returned error number ^1."
  258. #define    kExtenderResultActID            5404    /*    p0 = Atom Extender ID
  259.                                                     p1 = Result (OSErr if != 0)
  260.                                                     p2 = 
  261.                                                     p3 =
  262.                                                     r  = */
  263. #define kA5NotSetCorrectlyActStr        "Runtime Error:  Atom Extender ID=^0 called an Installer routine without setting A5 properly."
  264. #define    kA5NotSetCorrectlyActID            5405    /*    p0 = Extender ID
  265.                                                     p1 = 
  266.                                                     p2 = 
  267.                                                     p3 =
  268.                                                     r  = */
  269. #define kTgtSetupProcNotFoundActStr        "Script Error:  Preference setup code resource, type '^1' ID=^0, was not found in the script."
  270. #define    kTgtSetupProcNotFoundActID        5406    /*    p0 = Setup Code Rsrc ID
  271.                                                     p1 = Setup Code Rsrc Type
  272.                                                     p2 = 
  273.                                                     p3 =
  274.                                                     r  = */
  275. #define kVersCodeRsrcNotFoundActStr        "Script Error:  Version code resource, type '^1' ID=^0, was not found in the script."
  276. #define    kVersCodeRsrcNotFoundActID        5407    /*    p0 = Version Code Rsrc ID
  277.                                                     p1 = Version Rsrc Type
  278.                                                     p2 = 
  279.                                                     p3 =
  280.                                                     r  = */
  281. #define kActionAtomCodeRsrcNFActStr        "Script Error:  Action Atom code resource, type '^1' ID=^0, was not found in the script."
  282. #define    kActionAtomCodeRsrcNFActID        5408    /*    p0 = Action Atom Code Rsrc ID
  283.                                                     p1 = Action Atom Rsrc Type
  284.                                                     p2 = 
  285.                                                     p3 =
  286.                                                     r  = */
  287. #define kSearchProcCodeRsrcNFActStr        "Script Error:  Search Proc code resource, type '^1' ID=^0, was not found in the script."
  288. #define    kSearchProcCodeRsrcNFActID        5409    /*    p0 = Search Proc Code Rsrc ID
  289.                                                     p1 = Search Proc Rsrc Type
  290.                                                     p2 = 
  291.                                                     p3 =
  292.                                                     r  = */
  293. #define kSearchProcBadFileActStr        "Runtime Warning:  Skipped found file “^1” returned from Search Proc ID=^0."
  294. #define    kSearchProcBadFileActID            5410    /*    p0 = Search Proc Rsrc ID
  295.                                                     p1 = File Name
  296.                                                     p2 = 
  297.                                                     p3 =
  298.                                                     r  = */
  299. #define kRuleFuncCodeRsrcNFActStr        "Script Error:  Rule Function code resource, type '^1' ID=^0, was not found in the script."
  300. #define    kRuleFuncCodeRsrcNFActID        5411    /*    p0 = Rule Function Code Rsrc ID
  301.                                                     p1 = Rule Function Rsrc Type
  302.                                                     p2 = 
  303.                                                     p3 =
  304.                                                     r  = */
  305. #define kLowModuleSetupMemoryActStr        "Runtime Warning:  Please increase Installer parition.  Could not allocate all requested memory of ^2 for code resource, type '^1' ID=^0."
  306. #define    kLowModuleSetupMemoryActID        5412    /*    p0 = Code Rsrc ID
  307.                                                     p1 = Rsrc Type
  308.                                                     p2 = Requested Memory
  309.                                                     p3 =
  310.                                                     r  = */
  311. #define kNoModuleSetupMemoryActStr        "Runtime Error:  Could not allocate any requested memory of ^2 for code resource, type '^1' ID=^0."
  312. #define    kNoModuleSetupMemoryActID        5413    /*    p0 = Code Rsrc ID
  313.                                                     p1 = Rsrc Type
  314.                                                     p2 = Requested Memory
  315.                                                     p3 =
  316.                                                     r  = */
  317.     
  318.  
  319. /*==================================================================================================*/
  320. /*==================================== Debugging Action Class ======================================*/
  321. /*==================================================================================================*/
  322. #define    kDebuggingAction                5600
  323.  
  324. #define kGenericDebugActStr                "^0^1^2^3"
  325. #define    kGenericDebugActID                5604    /*    p0 = Any string
  326.                                                     p1 = Any string
  327.                                                     p2 = Any string
  328.                                                     p3 = Any string
  329.                                                     r  =  */
  330.                                                     
  331. /*==================================================================================================*/
  332. /*===================================== Progress Action Class ======================================*/
  333. /*==================================================================================================*/
  334. #define    kProgressAction                    5700
  335. #define kClickedInstallActStr            "Progress:  Beginning installation."
  336. #define    kClickedInstallActID            5701    /*    p0 =
  337.                                                     p1 =
  338.                                                     p2 = 
  339.                                                     p3 =
  340.                                                     r  = */
  341. #define kClickedRemoveActStr            "Progress:  Beginning removal."
  342. #define    kClickedRemoveActID                5702    /*    p0 =
  343.                                                     p1 =
  344.                                                     p2 = 
  345.                                                     p3 =
  346.                                                     r  = */
  347. #define kInstallationResultActStr        "Progress:  Installation ended with the result code #^0."
  348. #define    kInstallationResultActID        5703    /*    p0 = OSErr
  349.                                                     p1 =
  350.                                                     p2 = 
  351.                                                     p3 =
  352.                                                     r  =  */
  353. #define kRemovalResultActStr            "Progress:  Removal ended with the result code #^0."
  354. #define    kRemovalResultActID                5704    /*    p0 = OSErr
  355.                                                     p1 =
  356.                                                     p2 = 
  357.                                                     p3 =
  358.                                                     r  =  */
  359.  
  360. #define    kRemapActionResultToCancel        1
  361. #define    kRemapActionResultToError        -1
  362.  
  363. #define kActionAtomResultActStr            "Progress:  Action Atom ID= ^0 returned result ^1 from a ^2 message."
  364. #define    kActionAtomResultActID            5705    /*    p0 = Action Atom ID
  365.                                                     p1 = result (1=cancel, 0=continue, -1=fatalError)
  366.                                                     p2 = stage (0=before, 1=after, 2=cleanUpCancel)
  367.                                                     p3 =
  368.                                                     r  = New Result (kRemapActionResultToCancel, kRemapActionResultToError, or kDontRemapActionResult ) */
  369.  
  370.  
  371. /*==================================================================================================*/
  372. /*======================================= File Progress Actions ====================================*/
  373. /*==================================================================================================*/
  374. #define    kFileProgressAction                5800
  375.  
  376.                                                     
  377. /*==========File COPY action items================*/
  378. #define kFileCopiedStr                    "FILE will be copied “^1” to “^2”. (infa#=^0)."
  379. #define    kFileCopiedID                    5801    /*    p0 =    File Atom ID
  380.                                                     p1 =    File Spec ID
  381.                                                     p2 =     Volume Name (Str255)
  382.                                                     p3 =    
  383.                                                     r  = */
  384.                                                     
  385. #define kFileNotCopiedStr                "FILE will NOT be copied “^1”, to the disk “^2”. (infa#=^0)"
  386. #define    kFileNotCopiedID                5802    /*    p0 =    File Atom ID
  387.                                                     p1 =    File Spec ID
  388.                                                     p2 =     Volume Name (Str255)
  389.                                                     p3 =    
  390.                                                     r  = */
  391.                                                 
  392. #define kFileNotCopiedNewerLeftStr        "FILE will NOT be copied “^1”, to the disk “^2”, because the target file is newer.  (infa#=^0)."
  393. #define    kFileNotCopiedNewerLeftID        5803    /*    p0 =    File Atom ID
  394.                                                     p1 =    File Spec ID
  395.                                                     p2 =     Volume Name (Str255)
  396.                                                     p3 =    
  397.                                                     r  = */
  398.                                                 
  399. #define kFileNotCopiedLockedStr            "FILE will NOT be copied “^1”, to the disk “^2”, because the target file was locked.  (infa#=^0)."
  400. #define    kFileNotCopiedLockedID            5804    /*    p0 =    File Atom ID
  401.                                                     p1 =    File Spec ID
  402.                                                     p2 =     Volume Name (Str255)
  403.                                                     p3 =    
  404.                                                     r  = */
  405.                                                     
  406. /*==========File UPDATE action items================*/
  407. #define kFileUpdatedStr                    "FILE will be updated “^1”, on the disk “^2”.  (infa#=^0)."
  408. #define    kFileUpdatedID                    5805    /*    p0 =    File Atom ID
  409.                                                     p1 =    File Spec ID
  410.                                                     p2 =     Volume Name (Str255)
  411.                                                     p3 =    
  412.                                                     r  = */
  413.                                                     
  414. #define kFileNotUpdatedKeptExistStr        "FILE will NOT be updated “^1”, on the disk “^2”, because the Installer is keeping the existing file. (infa#=^0)."
  415. #define    kFileNotUpdatedKeptExistID        5806    /*    p0 =    File Atom ID
  416.                                                     p1 =    File Spec ID
  417.                                                     p2 =     Volume Name (Str255)
  418.                                                     p3 =    
  419.                                                     r  = */
  420.                                                                                                         
  421. #define kFileNotUpdatedNotExistStr        "FILE will NOT be updated “^1”, on the disk “^2”, because the target file does not exist. (infa#=^0)."
  422. #define    kFileNotUpdatedNotExistID        5807    /*    p0 =    File Atom ID
  423.                                                     p1 =    File Spec ID
  424.                                                     p2 =     Volume Name (Str255)
  425.                                                     p3 =    
  426.                                                     r  = */
  427.  
  428.                                                     
  429. /*==========File REMOVE action items================*/
  430. #define kFileRemovedStr                    "FILE will be removed “^1”, from the disk “^2”. (infa#=^0)."
  431. #define    kFileRemovedID                    5808    /*    p0 =    File Atom ID
  432.                                                     p1 =    File Spec ID
  433.                                                     p2 =     Volume name (Str255)
  434.                                                     p3 =    
  435.                                                     r  = */
  436.                                                     
  437. #define kFileNotRemovedStr                "FILE will NOT be removed “^1”, from the disk “^2”. (infa#=^0)."
  438. #define    kFileNotRemovedID                5809    /*    p0 =    File Atom ID
  439.                                                     p1 =    File Spec ID
  440.                                                     p2 =     Volume name (Str255)
  441.                                                     p3 =    
  442.                                                     r  = */
  443.                                                     
  444. #define kFileNotRemovedNoExistStr        "FILE will NOT be removed “^1”, from the disk “^2”, because it did not exist. (infa#=^0)."
  445. #define    kFileNotRemovedNoExistID        5810    /*    p0 =    File Atom ID
  446.                                                     p1 =    File Spec ID
  447.                                                     p2 =     Volume name (Str255)
  448.                                                     p3 =    
  449.                                                     r  = */
  450.                                                     
  451. #define kFileNotRemovedLockedStr        "FILE will NOT be removed “^1”, from the disk “^2”, because it is locked. (infa#=^0)."
  452. #define    kFileNotRemovedLockedID            5811    /*    p0 =    File Atom ID
  453.                                                     p1 =    File Spec ID
  454.                                                     p2 =     Volume name (Str255)
  455.                                                     p3 =    
  456.                                                     r  = */
  457.                                                     
  458. /*==========Miscellaneous action items================*/
  459. #define kFileSetLockedStr                "The file “^1” will be locked on the disk “^2”. (infa#=^0)."
  460. #define    kFileSetLockedID                5812    /*    p0 =    File Atom ID
  461.                                                     p1 =    File Spec ID
  462.                                                     p2 =     Volume name (Str255)
  463.                                                     p3 =    
  464.                                                     r  = */
  465.                                                     
  466.  
  467. /*==================================================================================================*/
  468. /*===================================== Resource Progress Actions ==================================*/
  469. /*==================================================================================================*/
  470. #define    kRsrcProgressAction                5900
  471.  
  472. /*==========Resource COPY action items================*/
  473.  
  474. #define kRsrcCopiedStr                    "RSRC will be copied (Type “^1”) into “^2” on the disk “^3”.  (inra#=^0)."
  475. #define    kRsrcCopiedID                    5901    /*    p0 =    Rsrc Atom ID
  476.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  477.                                                     p2 =     File Spec ID
  478.                                                     p3 =    Volume Name (Str255)
  479.                                                     r  = */
  480.                                                     
  481. #define kRsrcNotCopiedStr                "RSRC will NOT be copied (Type “^1”), into the file “^2” on the disk “^3”.  (inra#=^0)."
  482. #define    kRsrcNotCopiedID                5902    /*    p0 =    Rsrc Atom ID
  483.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  484.                                                     p2 =     File Spec ID
  485.                                                     p3 =    Volume Name (Str255)
  486.                                                     r  = */
  487.                                                     
  488. #define kRsrcNotCopiedNewerLeftStr        "RSRC will NOT be copied (Type “^1”), into the file “^2”, on the disk “^3”, because the target resource is newer.  (inra#=^0)."
  489. #define    kRsrcNotCopiedNewerLeftID        5903    /*    p0 =    Rsrc Atom ID
  490.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  491.                                                     p2 =     File Spec ID
  492.                                                     p3 =    Volume Name (Str255)
  493.                                                     r  = */
  494.                                                     
  495. #define kRsrcNotCopiedNotTargetStr        "RSRC will NOT be copied (Type “^1”), because the target file “^2” needs to exist on the disk “^3”.  (inra#=^0)."
  496. #define    kRsrcNotCopiedNotTargetID        5904    /*    p0 =    Rsrc Atom ID
  497.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  498.                                                     p2 =     File Spec ID
  499.                                                     p3 =    Volume Name (Str255)
  500.                                                     r  = */
  501.                                                 
  502. #define kRsrcNotCopiedProtectedStr        "RSRC will NOT be copied (Type “^1”), into the file “^2”, because the target resource was protected on the disk “^3”.  (inra#=^0)."
  503. #define    kRsrcNotCopiedProtectedID        5905    /*    p0 =    Rsrc Atom ID
  504.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  505.                                                     p2 =     File Spec ID
  506.                                                     p3 =    Volume Name (Str255)
  507.                                                     r  = */
  508.                                                 
  509.                                                 
  510. /*==========Resource UPDATE action items================*/
  511. #define kRsrcUpdatedStr                    "RSRC will be updated (Type “^1”) in the file “^2” on the disk “^3”.  (inra#=^0)."
  512. #define    kRsrcUpdatedID                    5906    /*    p0 =    Rsrc Atom ID
  513.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  514.                                                     p2 =     File Spec ID
  515.                                                     p3 =    Volume Name (Str255)
  516.                                                     r  = */
  517.                                                     
  518. #define kRsrcNotUpdatedKeptExistStr        "RSRC will NOT be updated (Type “^1”), in the file “^2”, because the Installer is keeping the existing resource on the disk “^3”.  (inra#=^0)."
  519. #define    kRsrcNotUpdatedKeptExistID        5907    /*    p0 =    Rsrc Atom ID
  520.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  521.                                                     p2 =     File Spec ID
  522.                                                     p3 =    Volume Name (Str255)
  523.                                                     r  = */
  524.                                                     
  525. #define kRsrcNotUpdatedLockedStr        "RSRC will NOT be updated (Type “^1”), because the target file “^2” contains a resource that is locked on the disk “^3”.  (inra#=^0)."
  526. #define    kRsrcNotUpdatedLockedID            5908    /*    p0 =    Rsrc Atom ID
  527.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  528.                                                     p2 =     File Spec ID
  529.                                                     p3 =    Volume Name (Str255)
  530.                                                     r  = */
  531.                                                     
  532. #define kRsrcNotUpdatedNotExistStr        "RSRC will NOT be updated (Type “^1”), in the file “^2”, because it didn't exist on the disk “^3”.  (inra#=^0)."
  533. #define    kRsrcNotUpdatedNotExistID        5909    /*    p0 =    Rsrc Atom ID
  534.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  535.                                                     p2 =     File Spec ID
  536.                                                     p3 =    Volume Name (Str255)
  537.                                                     r  = */
  538.                                                     
  539. #define kRsrcNotUpdatedProtectedStr        "RSRC will NOT be updated (Type “^1”), because the target resource was locked in the file “^2” on the disk “^3”.  (inra#=^0)."
  540. #define    kRsrcNotUpdatedProtectedID        5910    /*    p0 =    Rsrc Atom ID
  541.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  542.                                                     p2 =     File Spec ID
  543.                                                     p3 =    Volume Name (Str255)
  544.                                                     r  = */
  545.                                                     
  546.                                                     
  547. /*==========Resource REMOVE action items================*/
  548.  
  549. #define kRsrcRemovedStr                    "RSRC will be removed (Type “^1”) from the file “^2” on the disk “^3”.  (inra#=^0)."
  550. #define    kRsrcRemovedID                    5911    /*    p0 =    Rsrc Atom ID
  551.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  552.                                                     p2 =     File Spec ID
  553.                                                     p3 =    Volume Name (Str255)
  554.                                                     r  = */
  555.                                                     
  556. #define kRsrcNotRemovedStr                "RSRC will NOT be removed (Type “^1”), from the file “^2” on the disk “^3”.  (inra#=^0)."
  557. #define    kRsrcNotRemovedID                5912    /*    p0 =    Rsrc Atom ID
  558.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  559.                                                     p2 =     File Spec ID
  560.                                                     p3 =    Volume Name (Str255)
  561.                                                     r  = */
  562.                                                     
  563. #define kRsrcNotRemovedNoExistStr        "RSRC will NOT be removed (Type “^1”), from the file “^2”, because it doesn't exist on the disk “^3”.  (inra#=^0)."
  564. #define    kRsrcNotRemovedNoExistID        5913    /*    p0 =    Rsrc Atom ID
  565.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  566.                                                     p2 =     File Spec ID
  567.                                                     p3 =    Volume Name (Str255)
  568.                                                     r  = */
  569.                                                     
  570. #define kRsrcNotRemovedProtectedStr        "RSRC will NOT be removed (Type “^1”), from the file “^2”, because the resource is protected on the disk “^3”.  (inra#=^0)."
  571. #define    kRsrcNotRemovedProtectedID        5914    /*    p0 =    Rsrc Atom ID
  572.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  573.                                                     p2 =     File Spec ID
  574.                                                     p3 =    Volume Name (Str255)
  575.                                                     r  = */
  576.                                                     
  577. #define kRsrcNotRemovedLockedStr        "RSRC will NOT be removed (Type “^1”), because the file “^2” is Locked on the disk “^3”.  (inra#=^0)."
  578. #define    kRsrcNotRemovedLockedID            5915    /*    p0 =    Rsrc Atom ID
  579.                                                     p1 =    Rsrc Type/Rsrc ID (Str255)
  580.                                                     p2 =     File Spec ID
  581.                                                     p3 =    Volume Name (Str255)
  582.                                                     r  = */                                                
  583.                                                 
  584. /*==================================================================================================*/
  585. /*====================================== Font Progress Actions =====================================*/
  586. /*==================================================================================================*/
  587. #define    kFontProgressAction                6000
  588.  
  589. /*==========Font COPY action items================*/
  590.  
  591. #define kFontCopiedStr                    "FONT will be copied “^1” into “^2” on the disk “^3”.  (inff#=^0)."
  592. #define    kFontCopiedID                    6001    /*    p0 =    Font Atom ID
  593.                                                     p1 =    Family Name (Str255)
  594.                                                     p2 =     File Spec ID
  595.                                                     p3 =    Volume Name (Str255)
  596.                                                     r  = */
  597.                                                     
  598. #define kFontNotCopiedStr                "FONT will NOT be copied “^1” into the file “^2” on the disk “^3”.  (inff#=^0)."
  599. #define    kFontNotCopiedID                6002    /*    p0 =    Font Atom ID
  600.                                                     p1 =    Family Name (Str255)
  601.                                                     p2 =     File Spec ID
  602.                                                     p3 =    Volume Name (Str255)
  603.                                                     r  = */
  604.                                                     
  605. /*==========Font UPDATE action items================*/
  606.                                                 
  607.                                                 
  608. #define kFontUpdatedStr                    "FONT will be updated “^1” in the file “^2” on the disk “^3”.  (inff#=^0)."
  609. #define    kFontUpdatedID                    6003    /*    p0 =    Font Atom ID
  610.                                                     p1 =    Family Name (Str255)
  611.                                                     p2 =     File Spec ID
  612.                                                     p3 =    Volume Name (Str255)
  613.                                                     r  = */
  614.                                                 
  615. #define kFontNotUpdatedKeptExistStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because the Installer is keeping the existing font.  (inff#=^0)."
  616. #define    kFontNotUpdatedKeptExistID        6004    /*    p0 =    Font Atom ID
  617.                                                     p1 =    Family Name (Str255)
  618.                                                     p2 =     File Spec ID
  619.                                                     p3 =    Volume Name (Str255)
  620.                                                     r  = */
  621.                                                     
  622. #define kFontNotUpdatedLockedStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because the target file is locked.  (inff#=^0)."
  623. #define    kFontNotUpdatedLockedID            6005    /*    p0 =    Font Atom ID
  624.                                                     p1 =    Family Name (Str255)
  625.                                                     p2 =     File Spec ID
  626.                                                     p3 =    Volume Name (Str255)
  627.                                                     r  = */
  628.                                                     
  629. #define kFontNotUpdatedNotExistStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because the target font did not exist.  (inff#=^0)."
  630. #define    kFontNotUpdatedNotExistID        6006    /*    p0 =    Font Atom ID
  631.                                                     p1 =    Family Name (Str255)
  632.                                                     p2 =     File Spec ID
  633.                                                     p3 =    Volume Name (Str255)
  634.                                                     r  = */
  635.                                                     
  636. #define kFontNotUpdatedProtectedStr        "FONT will NOT be updated “^1”, in the file “^2” on the disk “^3”, because a target font resource is protected.  (inff#=^0)."
  637. #define    kFontNotUpdatedProtectedID        6007    /*    p0 =    Font Atom ID
  638.                                                     p1 =    Family Name (Str255)
  639.                                                     p2 =     File Spec ID
  640.                                                     p3 =    Volume Name (Str255)
  641.                                                     r  = */
  642.                                                     
  643. /*==========Font REMOVE action items================*/
  644.                                                     
  645. #define kFontRemovedStr                    "FONT will be removed “^1”, from the file “^2” on the disk “^3”.  (inff#=^0)."
  646. #define    kFontRemovedID                    6008    /*    p0 =    Font Atom ID
  647.                                                     p1 =    Family Name (Str255)
  648.                                                     p2 =     File Spec ID
  649.                                                     p3 =    Volume Name (Str255)
  650.                                                     r  = */
  651.                                                     
  652. #define kFontNotRemovedStr                "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”.  (inff#=^0)."
  653. #define    kFontNotRemovedID                6009    /*    p0 =    Font Atom ID
  654.                                                     p1 =    Family Name (Str255)
  655.                                                     p2 =     File Spec ID
  656.                                                     p3 =    Volume Name (Str255)
  657.                                                     r  = */
  658.                                                     
  659. #define kFontNotRemovedNoExistStr        "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”, because it doesn't exist.  (inff#=^0)."
  660. #define    kFontNotRemovedNoExistID        6010    /*    p0 =    Font Atom ID
  661.                                                     p1 =    Family Name (Str255)
  662.                                                     p2 =     File Spec ID
  663.                                                     p3 =    Volume Name (Str255)
  664.                                                     r  = */
  665.                                                     
  666. #define kFontNotRemovedLockedStr        "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”, because the target file is locked.  (inff#=^0)."
  667. #define    kFontNotRemovedLockedID            6011    /*    p0 =    Font Atom ID
  668.                                                     p1 =    Family Name (Str255)
  669.                                                     p2 =     File Spec ID
  670.                                                     p3 =    Volume Name (Str255)
  671.                                                     r  = */
  672.                                                     
  673. #define kFontNotRemovedProtectedStr        "FONT will NOT be removed “^1”, from the file “^2” on the disk “^3”, because a target font resource is protected.  (inff#=^0)."
  674. #define    kFontNotRemovedProtectedID        6012    /*    p0 =    Font Atom ID
  675.                                                     p1 =    Family Name (Str255)
  676.                                                     p2 =     File Spec ID
  677.                                                     p3 =    Volume Name (Str255)
  678.                                                     r  = */
  679.                                                     
  680.  
  681. /*==================================================================================================*/
  682. /*===================================== Folder Progress Actions ====================================*/
  683. /*==================================================================================================*/
  684. #define    kFolderProgressAction            6100
  685.  
  686. #define kFolderCopiedStr                "FOLDER will be copied “^1” to the disk “^2”.  (Folder Atom ID=^0)."
  687. #define    kFolderCopiedID                    6101    /*    p0 =    Folder Atom ID
  688.                                                     p1 =    File Spec ID
  689.                                                     p2 =     Volume Name (Str255)
  690.                                                     p3 =
  691.                                                     r  = */
  692.                                                     
  693. /*==================================================================================================*/
  694. /*===================================== ResMerge Progress Actions ==================================*/
  695. /*==================================================================================================*/
  696. #define    kResMergeProgressAction        6200
  697.  
  698. #define kResMergeCopiedStr                "RESOURCES will be merged into the file “^1” on the disk “^2”.  (ResMerge Atom ID=^0)."
  699. #define    kResMergeCopiedID                6201    /*    p0 =    ResMerge Atom ID
  700.                                                     p1 =    File Spec ID
  701.                                                     p2 =     Volume Name (Str255)
  702.                                                     p3 =
  703.                                                     r  = */
  704.                                                     
  705.                                                     
  706.  
  707. #endif